package com.common.view;

import android.content.Context;
import android.util.AttributeSet;
import android.util.Log;

import androidx.appcompat.widget.AppCompatTextView;
import com.common.util.DateUtil;

public class TimeTextView extends AppCompatTextView {

	private static final String TAG = "TimeTextView";
	
	public TimeTextView(Context context, AttributeSet attrs) {
		super(context, attrs);
		Log.d(TAG, "TimeTextView init");
	}
	
	public void refreashUI(){

		setText(DateUtil.getNowWeekStr());

		invalidate();
	}

}
